<form id="pagerForm" method="post" action="{:url('Subscribe/index')}">
    <input type="hidden" name="pageNum" value="{$pageNum}"/>
</form>
<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" action="{:url('Subscribe/index')}" method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>开始日期：</td>
                    <td><input name="start_time" type="text" class="date" datefmt="yyyy-MM-dd" readonly="true" value="{$start_time|default=''}"></td>
                    <td>结束日期：</td>
                    <td><input name="end_time" type="text" class="date" datefmt="yyyy-MM-dd" readonly="true" value="{$end_time|default=''}"></td>
                </tr>
            </table>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">搜索</button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </form>
</div>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a rel="brandManageAdd" class="add" href="{:url('Subscribe/add')}?is_company=1" target="navTab"  title="预约数量添加"><span>添加</span></a></li>
<!--            <li><a class="delete" href="{:url('Subscribe/doDelete')}?id={userId}" target="ajaxTodo" title="确定要删除吗？"><span>删除</span></a>
                </li>-->
        </ul>
    </div>
    <table class="table" width="101.8%" layoutH="132">
        <thead>
        <tr>
            <th width="50">序号</th>
            <th width="100">已设置日期</th>
            <th width="100">星期</th>
            <th width="100">状态</th>
            <th width="70">操作</th>
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="vo"}
        <tr target="userId" rel="{$vo.id}">
            <td>{$i}</td>
            <td>{$vo.date}</td>
            <td>{$vo.week}</td>
            <td>{$vo.status}</td>
            <td>
                <a rel="companyManage" href="{:url('Subscribe/detail')}?date={$vo.date}&date_id={$vo.date_id}&company_name={$vo.company_name}" target='navTab' title="查看详情">查看详情</a>
            </td>
        </tr>
        {/volist}
        </tbody>
    </table>
    <div class="panelBar">
        <div class="pages">
            <span>共{$count}条</span>
        </div>
        <div class="pagination" targetType="navTab" totalCount="{$count}" numPerPage="{$numPerPage}" pageNumShown="10"
            currentPage="{$pageNum}"></div>
    </div>
</div>
